projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dded2dd
)
OpenBSD: don't include malloc.h
author
Antoine Jacoutot
<ajacoutot@gnome.org>
Thu, 13 Aug 2020 15:48:34 +0000
(17:48 +0200)
committer
Antoine Jacoutot
<ajacoutot@gnome.org>
Thu, 13 Aug 2020 15:48:34 +0000
(17:48 +0200)
This header doesn't exist anymore on recent OpenBSD releases.
gtk/roaring/roaring.h
patch
|
blob
|
history
diff --git
a/gtk/roaring/roaring.h
b/gtk/roaring/roaring.h
index 26ab1bd4dc6fd6e4638821d19e7e681bcc5e5c6d..db04db5ae6e24ef84c5a53d31a313379d9d27305 100644
(file)
--- a/
gtk/roaring/roaring.h
+++ b/
gtk/roaring/roaring.h
@@
-58,7
+58,7
@@
enum {
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h> // will provide posix_memalign with _POSIX_C_SOURCE as defined above
-#if !(defined(__APPLE__)) && !(defined(__FreeBSD__))
+#if !(defined(__APPLE__)) && !(defined(__FreeBSD__))
&& !(defined(__OpenBSD__))
#include <malloc.h> // this should never be needed but there are some reports that it is needed.
#endif